package cn.javabb;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * @desc:
 * @author: javabb (javabob(a)163.com)
 * @create: 2020/08/15 18:44
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@EnableZuulProxy //加入Zuul注解 ,应用是一个Zuul微服务网关。会在Eureka注册中心中注册当前服务。并发现其他的服务。
public class SpringcloudZuul3001Application {
    public static void main(String[] args) {
        SpringApplication.run(SpringcloudZuul3001Application.class, args);
    }

}

